package common.db;

/**
 * Created by IntelliJ IDEA.
 * User: Paskal
 * Date: Apr 6, 2009
 * Time: 6:52:01 PM
 * To change this template use File | Settings | File Templates.
 */
public class ConnectionParametar
{
	private String dbName = null;
    private String userName = null;
    private String password = null;
    private String url = null;

	public ConnectionParametar(String dbName, String userName, String password, String url)
	{
		this.dbName = dbName;
		this.userName = userName;
		this.password = password;
		this.url = url;
	}

	public ConnectionParametar()
	{
		 this("facebook", "root", "root", "jdbc:mysql://localhost/facebook");
	}

	public String getDbName()
	{
		return dbName;
	}

	public void setDbName(String dbName)
	{
		this.dbName = dbName;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}
}
